/*
 * helper.h
 *
 *  Created on: Feb 13, 2014
 *      Author: Charles_OSU
 */

#ifndef HELPER_H_
#define HELPER_H_


// Prototype
int adventurerTest(int player, int card, int handPos, int choice1, int choice2, int choice3, struct gameState *state);
void setState(struct gameState *state);
int *randomCard(struct gameState *state);
int countTreasure(struct gameState *state);
void setHandWithadventurer(struct gameState *state);
void setDeck(struct gameState *state);
int compareArray(int * a1, int * a2, int len);
void printGameSummary(struct gameState gsPre,FILE *out, int gameNumber, int numPlayers);
int testNumberCardsHand(struct gameState* state);
int testfullDeckCount(int player, int card, struct gameState *state);
void resetFlag();
int testState();
void incState();
char *cardToString(int number);
void resetDeck(struct gameState *state);
void assertMessage(char *message, int firstVal, int secondVal);



#endif /* HELPER_H_ */
